package com.jic.manager.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.RestResult;
import com.jic.manager.entity.MerchantChannel;
import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.manager.request.MerchantChannelRequest;

/**
* 商家渠道关联表
* @author : 
* @email : 
* @since : 2020-02-26 09:39:43
* @version : v1.0.0
*/
public interface MerchantChannelService {

    long insert(MerchantChannel merchantChannel);

    long delete(Long id);

    long update(MerchantChannel merchantChannel);

    MerchantChannel queryByPrimaryKey(Long id);

    List<MerchantChannel> query(MerchantChannel merchantChannel);

    PageResult<MerchantChannel> queryPage(MerchantChannel merchantChannel, Page pageQuery);

    RestResult<String> editMerchantChannelInfo(MerchantChannelRequest mchannel);
}